package top.heliming.rabbitmq.rabbitmqdemo.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.heliming.rabbitmq.rabbitmqdemo.direct.Send5;
import top.heliming.rabbitmq.rabbitmqdemo.topic.Send;
import top.heliming.rabbitmq.rabbitmqdemo.topic.Send3;

/**
 * description: //TODO
 *
 * @author: heliming
 * @date:2019/08/01 上午 10:46
 */
@RestController
@RequestMapping
public class HelloController {

  @RequestMapping
  public String hello () throws Exception {
   //rabbitmq 3.2.4
    Send.send();
    //spring-boot-starter-amqp   rabbitmq 5.4.3
   // Send3.send3();
    return "HELLO";
  }
}
